How Camp <kro### [at] hotmailcom> wrote in message
news:3da34657@news.povray.org...
>
> More or less. Our xyz data set has no inherent strength information -
only
> varying densities of particles. Here's a real example of some of our
data:
> We have a grid of values, 51x21. Each gridpoint has a height associated
> with it. We simply want to plot each of these xyz points, and smoothly
> connect them in some sort of surface.
>
This may be a lot simpler than I thought. All that is really needed is to
reorganize the data you have into a heightfield type mesh2 formal. I have a
macro at home that can do this. I will post it tomorrow.
The macro is pretty straightforward. The only input needed is a
two-dimensional array of values. like this: array[x position][y position] =
z value.
Smoothing out the surface is another problem. This can be accomplished
easily with a mesh subdivision, but smooth surfaces which travel *through* a
set of points have a tendency to warp and look wavy. Here is an example:
http://news.povray.org/povray.binaries.images/23830/
-Shay
Post a reply to this message
|